const adminService = require("../services/admin-service");
class AdminController {
  async registrationManadger(req, res) {
    const { email, password } = req.body;
    const manadgerData = await adminService.registrationManadger(
      email,
      password
    );
    return res.json(manadgerData);
  }
}

module.exports = new AdminController();
